package remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 * Allow public action on Twiteer
 *
 */
public interface PublicInterface extends Remote {
	PrivateInterface connection(String pseudo, String pswd, ClientInterface ci) throws RemoteException;
	
	boolean inscription(String pseudo, String pswd) throws RemoteException;
	
	List<Tweet> getRecent(int x) throws RemoteException;
	
	List<Tweet> getRecent(String htag, int x) throws RemoteException;
	
}
